package com.fingerchar.db.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fingerchar.db.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.math.BigInteger;


/**
 * 算力记录表(TtCalRecord)
 *
 * @author tangzf
 * @since 2022-09-08 10:42:54
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("tt_cal_record")
public class TtCalRecord extends BaseEntity {
   
    
    private Long id;
    /**
     * 0：首次赠送；1：购买nft;   2:售卖nft的16%; 3: 每日算力递减; 4: 直推奖励； 5：级推奖励； 6：平级奖励；
     */
    private String inCalType;
    /**
     * 用户地址
     */
    private String userAddress;

    private BigInteger amount;
    

}

